package com.example.demo.service;

import com.example.demo.enity.User;

import java.util.List;


public interface UserService {
//    public User findeByUser(User user);

//    public User findById(Integer id);

//    public List<User> selectUserByWhere(User user);

//    public int deleteUser(Integer id);


    public User getUserByUsername(String username);

    public List<User> selectUserList();

    public User selectUserByUsername(String username);

    public int insertUser(User user);

    public User selectUserById(Integer id);

    public int updateUser(User user);

    public int deleteUserById(Integer id);

    public int updateUserPassWordByUser(String password, Integer id);



}
